<?php

class UserTableSeeder extends Seeder
{

    public function run()
    {
        DB::table('users')->delete();

        User::create(
            array(
                'email' => 'wengchaoda@gmail.com',
                'username' => 'admin',
                'password' => Hash::make('airsto'),
                'isAdmin' => true
            ),
            array(
                'email' => 'huqiyuan800@sina.com',
                'username' => 'huqiyuan800',
                'password' => Hash::make('123456'),
                'isAdmin' => false
            )
        );
    }

}